-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explicitly set resources encoding in Maven resources plugin #21116
base: main
Are you sure you want to change the base?
Conversation
Added missing configuration tag
|
@@ -671,6 +671,9 @@ | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-resources-plugin</artifactId> | |||
<version>3.3.1</version> | |||
<configuration> | |||
<propertiesEncoding>UTF-8</propertiesEncoding> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: does it make sense to use the project.build.sourceEncoding
property?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is even the recommended way: https://maven.apache.org/plugins/maven-resources-plugin/examples/encoding.html
To avoid maven warnings and be compatible with the upcoming 4.x release.